home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11067 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: lfsserv1.lfs.loral.com!notify@lfs.loral.com
  2. From: fischthal@lfs.loral.com (Scott Fischthal)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Coding Standards
  5. Date: 12 Mar 1996 15:44:58 GMT
  6. Organization: Loral Federal Systems
  7. Message-ID: <4i465q$1jb@lfsserv1.fsc.ibm.com>
  8. References: <4hj8ek$elu@sam.inforamp.net> <4hktar$5o2@galaxy.ucr.edu> <4hsfrc$pmm@sam.inforamp.net>
  9. Reply-To: fischthal@lfs.loral.com
  10. NNTP-Posting-Host: lfsgate.lfs.loral.com
  11. X-Newsreader: IBM NewsReader/2 v1.02
  12.  
  13. In <4hsfrc$pmm@sam.inforamp.net>, rmorin@inforamp.net (Randy Charles Morin) writes:
  14. >
  15. >Coding Standards
  16. >5.    Warnings and errors messages must not be suppressed when compiling or 
  17. >linking and all warnings and errors must be removed before completion.
  18.  
  19. This is a fine goal, but not always possible, especially when working with 
  20. third-party libraries (e.g. user-written error handlers that get passed some 
  21. data that isn't useful; you'll get extraneous compiler warnings about 
  22. "parameter xyz not used in function foo()").
  23.  
  24. >3.    Limited Hungarian notation will be used.
  25.  
  26. Personally, I consider Hungarian notation to be among the worst ideas foisted 
  27. onto the public by Microsoft, especially if you're developing an object-
  28. oriented system.  It greatly reduces code readability and overemphasizes 
  29. typing (which I consider a weakness in object-oriented systems).
  30.  
  31. Anyway, the coding standards are fine, so long as there is a deviance process 
  32. for those (rare) occasions when it's necessary to override them.
  33.  
  34. Scott Fischthal
  35. Artificial Intelligence Technology Center
  36. Loral Federal Systems Group 
  37. Gaithersburg, MD
  38.  
  39.